home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / ab20_archive / games / strategy / empire-2.2w.lzh / Help / Syntax < prev    next >
Text File  |  1990-08-25  |  5KB  |  104 lines

  1. Command Syntax
  2.  
  3. All commands will prompt for their needed arguments, so if you are unsure
  4. of how to use one, just give it with no arguments to get prompts.
  5.  
  6. Some syntactic elements:
  7.  
  8.     <country> - a country name (in full, case significant) or number.
  9.  
  10.     <sector>  - a sector specified as row,column (e.g. 4,-7)
  11.  
  12.     <sectors> - a region given as toprow:bottomrow,leftcolumn:rightcolumn
  13.                 This specifies a rectangle of sectors. For most commands,
  14.                 only the sectors that you own will be affected. E.g.
  15.  
  16.                     map -5:5,-5:6
  17.  
  18.                 will map the region around your capital. Eg.
  19.  
  20.                     designate -3,1:5 f
  21.  
  22.                 will designate a row of 5 sectors into fortresses. Using the
  23.                 'realm' command, you can set up 6 rectangular regions which
  24.                 you can refer to with an abbreviated form. E.g. if you have
  25.                 entered:
  26.  
  27.                     realm 3 -8:8,2:5
  28.  
  29.                 then the two commands
  30.  
  31.                     map #3
  32.                     map -8:8,2:5
  33.  
  34.                 are equivalent. As a further special case, realm 0 can be
  35.                 referred to as just '#'. You can follow a rectangle
  36.                 specification with a condition, which will reduce the
  37.                 command to operating on only those sectors which match the
  38.                 condition. The condition consists of a series of
  39.                 comparisons, using the operators:
  40.  
  41.                 < - term on left is less than term on right
  42.                 > - term on left is greater than term on right
  43.                 = - term on left is equal to term on right
  44.                 # - term on left is not equal to term on right
  45.  
  46.                 The conditions are separated by '&', implying that all
  47.                 conditions must be met in order for that sector to be
  48.                 selected for the command. Note that there must be no spaces
  49.                 anywhere in the entire <sectors> specification. The terms
  50.                 compared can be simple numbers or any unambiguous
  51.                 abbreviation of one of:
  52.  
  53.                 designation - the designation character of the sector
  54.                     (special case - other value can be a single character)
  55.                 efficiency - the sector's efficiency
  56.                 mobility - the sector's mobility
  57.                 minerals - richness of iron deposit in sector
  58.                 gold - richness of gold deposit in sector
  59.                 production - production units in sector
  60.                 contracted - 1 if sector is contracted, 0 if not
  61.                 defended - 1 if sector defended, 0 if not
  62.                 checkpoint - the checkpoint code for the sector
  63.                 owner - the number of the owning country - only for deitys
  64.                 civilians - number of civilians in the sector
  65.                 military - number of military in sector
  66.                 shells - number of shells in sector
  67.                 guns - the number of guns in the sector
  68.                 planes - number of planes in sector
  69.                 ore - number of tons of iron ore in sector
  70.                 bars - the number of gold bars in the sector
  71.  
  72.                 E.g.
  73.  
  74.                     des -10:10,12?designation=-&minerals>50&civ>99 m
  75.  
  76.                 will designate all wildernesses in the region which have a
  77.                 mineral sample larger than 50 and more than 99 civilians as
  78.                 a mine. As a special case, a '/' followed by a designation
  79.                 code can be used as a condition to select all sectors of
  80.                 that designation. E.g.
  81.  
  82.                     des #2/- +
  83.  
  84.                 will turn all wildernesses in realm 2 into highways.
  85.  
  86.     <ship>    - the number of a ship
  87.  
  88.     <fleet>   - a fleet letter (a-z, A-Z, or * for the default fleet)
  89.  
  90.     <ships>   - a designation of a group of ships. Can be a fleet letter, a
  91.                 <sectors> range or a list of ship numbers separated by '/'s.
  92.                 Any of the forms can be followed by a condition to be applied
  93.                 to the ships, just like the conditions can be applied to
  94.                 sectors. The values now refer to the ship, however, and are:
  95.  
  96.                 civilians, military, shells, guns, planes, ore, bars,
  97.                 designation (ship type), efficiency, mobility, owner
  98.  
  99. It is often desireable to interrupt the actions or output of commands which
  100. process several sectors or ships. This can be done on the Amiga by typing
  101. a control-C. It can be done when connected over a serial port by typing a
  102. control-C, a DEL or by sending a BREAK. The computation done by the 'power'
  103. command can also be stopped this way.
  104.